home *** CD-ROM | disk | FTP | other *** search
- Path: ufrima.imag.fr!usenet
- From: Emmanuel DARDAINE <edardain@ufrima.imag.fr>
- Newsgroups: comp.lang.c++
- Subject: Re: BC++ 4.5 OWL
- Date: 29 Jan 1996 11:56:26 GMT
- Organization: UFRIMA, IMAG, Universite Joseph Fourier
- Message-ID: <4eicla$lv6@ufrima.imag.fr>
- References: <310D18B1.40A2@setsk0.rpi.ses.alcatel.es>
- NNTP-Posting-Host: boole.imag.fr
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.1N (X11; I; SunOS 5.4 sun4m)
- X-URL: news:310D18B1.40A2@setsk0.rpi.ses.alcatel.es
-
- Hi,
-
- I developed a statistic application with Borland C++ 4.02 last year, and I got
- the same problem. EnableMenuItem seems to not respond. I looked at the
- examples, but didn't understood the way they make menu items enabled or
- disabled.
-
- I found one solution (certainly not the best or the more effective...). As you
- suggered, I used some particular functions, called through response tables. To
- do so, I declared one variable for each menu item I wanted to enable or
- disable. You must then pilot all the variables as you want the menu items to
- appear. Each time you click on the menu, the functions TCommandEnabler (I don't
- remember exactly if they are called this way, and I'm not working on my own
- computer at this time) are called.
-
- If you still have problems, or if you don't understand what I mean, sned me a
- mail and I'll send you part of my program.
-
-
- Emmanuel DARDAINE
- edardain@boole.imag.fr
-
-